from django.test import TestCase

# Create your tests here.
l1 = [
    {
        "id": 1,
        "name": "Python开发21天入门",
        "course_img": "http://api.luffycity.cn:8000/media/course/1544059695.jpeg",
        "students": 0,
        "lessons": 154,
        "pub_lessons": 154,
        "price": "9.00",
        "teacher": {
            "id": 1,
            "name": "Alex",
            "title": "金角大王 老男孩Python教学总监"
        },
        "coursechapters": [
            {
                "id": 1,
                "name": "第一天",
                "coursesections": [
                    {
                        "id": 1,
                        "name": "开班入学必听-Alex大神讲行业前景1",
                        "free_trail": 'true'
                    }
                ]
            },
            {
                "id": 2,
                "name": "第二天",
                "coursesections": [
                    {
                        "id": 2,
                        "name": "pycharm安装和使用序列 15",
                        "free_trail": 'false'
                    }
                ]
            }
        ]
    }
]
l2=[
    {
        "id": 1,
        "name": "Python开发21天入门",
        "course_img": "http://api.luffycity.cn:8000/media/course/1544059695.jpeg",
        "students": 0,
        "lessons": 154,
        "pub_lessons": 154,
        "price": "9.00",
        "teacher": {
            "id": 1,
            "name": "Alex",
            "title": "金角大王 老男孩Python教学总监"
        },
        "lesson_list": [
            {
                "id": 1,
                "name": "开班入学必听-Alex大神讲行业前景1",
                "free_trail": 'true'
            },
            {
                "id": 2,
                "name": "pycharm安装和使用序列 15",
                "free_trail": 'false'
            }
        ]
    }
]